package top.z.work.module.system.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import top.z.work.framework.orm.core.BaseEntity;

import java.io.Serial;
import java.io.Serializable;

/**
 * 配置表实体类
 *
 * @author zaoangod
 * @since 2024-07-25
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Table(value = "system_config")
public class SystemConfig extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    // 数据ID
    @Id
    private Long    identity;
    // 配置名称
    private String  name;
    // 配置标识
    private String  code;
    // 配置内容
    private String  value;
    // 数据排序
    private Integer sort;

}
